package net.youball.service.impl;

import net.youball.dao.IBaseDao;
import net.youball.service.IBaseService;


public class BaseServiceImpl<T> implements IBaseService<T> {
	private IBaseDao<T> baseDao;
	public Integer add(T t){
		Integer i=(Integer) baseDao.add(t);;
		return i;
	}
	public IBaseDao<T> getBaseDao() {
		return baseDao;
	}
	public void setBaseDao(IBaseDao<T> baseDao) {
		this.baseDao = baseDao;
	}
	
	
	
}
